package com.jac.alapores.dao;

import java.util.List;

import com.jac.alapores.domain.BattleLogs;

public class BattleLogsRepository 
extends BaseRepository 
{
	public List<BattleLogs> getAll()
	{
		return getService().query(BattleLogs.class).list();
	}
	
	public void create(BattleLogs category)
	{
		getService().put(category);		
	}
	
	public void deleteById(Long pId)
	{
		getService().delete(BattleLogs.class, pId);
	}
	
	public BattleLogs getById(Long pId)
	{
		return getService().get(BattleLogs.class, pId);
	}
}
